FROM docker.jianmuhub.com/jianmurunner/base-image:kaniko-v1.9.1 AS kaniko

FROM docker.jianmuhub.com/library/python:3.11.1-slim-buster

ENV DOCKER_CONFIG /kaniko/.docker

COPY --from=kaniko /kaniko /kaniko

ADD scripts/* /root/kaniko_build/

ENTRYPOINT ["/usr/local/bin/python"]

CMD ["/root/kaniko_build/kaniko_build.py"]
